<template>
  <div class="box">
    <div><slot age="18" :text="content" name="zhangsan"></slot></div>
    <div><slot :arr="arr" name="wangwu"></slot></div>
  </div>
</template>
<script>
export default {
  name: '',
  data () {
    return {
      content: '我是张三',
      arr: ['唱歌', '听歌']
    }
  },
  created () {
  },
  computed: {
  },
  methods: {
  }
}
</script>
<style lang='less'  scoped>
.box {
  width: 800px;
  height: 500px;
  display: flex;
  justify-content: space-around;
}
</style>
